package com.sc.byahi.user.client.components.maps.places;

import com.google.gwt.core.client.JavaScriptObject;
import com.sc.byahi.user.client.components.maps.LatLng;
import com.sc.byahi.user.client.components.maps.LatLngBounds;

public class PlaceGeometry extends JavaScriptObject {

  protected PlaceGeometry() {
  }

  public static final PlaceGeometry newInstance() {
    return JavaScriptObject.createObject().cast();
  }

  public final native void setLocation(LatLng location) /*-{
    this.location = location;
  }-*/;

  public final native LatLng getLocation() /*-{
    return this.location;
  }-*/;

  public final native void setViewPort(LatLngBounds viewport) /*-{
    this.viewport = viewport;
  }-*/;

  public final native LatLngBounds getViewPort() /*-{
    return this.viewport;
  }-*/;

}
